{include file="member.header.html"}
<div class="content f-cb">
    {include file=path.html}
    {include file=member.menu.html}
    <div class="con-r-global">
        <!--{if $showProgress}-->
        <div class="seller-order-step0{$progressId}"></div>
        <table width="100%" class="return-table-success">
            <tr>
                <td width="290">
                    {if $order.order_add_time}{$order.order_add_time|date:Y-m-d H:i:s}{else}&nbsp;{/if}
                </td>
                <td width="300">
                    {if $order.pay_time}{$order.pay_time|date:Y-m-d H:i:s}{else}&nbsp;{/if}
                </td>
                <td width="220">
                    {if $order.ship_time}{$order.ship_time|date:Y-m-d H:i:s}{else}&nbsp;{/if}
                </td>
                <td width="226" align="right">
                    {if $order.finished_time}{$order.finished_time|date:Y-m-d H:i:s}{else}&nbsp;{/if}
                </td>
            </tr>
        </table>
        <!--{/if}-->
        <div class="return-div-success">
            <dl class="status">
                <!--{if $order.status eq 11}-->
                <dt>
                    <h4>状态：等待买家付款</h4>
                </dt>
                <dd>
                    <p>
                        买家还剩余
                        <span class="time"> <i id="day_show"></i> <i id="hour_show"></i>
                            <i id="minute_show"></i>
                            <i id="second_show"></i>
                        </span>
                        完成本次交易的付款，逾期未付款，订单将自动取消。
                    </p>
                    <p>
                        <!--<a href="" class="subbtnhs mt10">提醒买家付款</a>
                    -->
                    <a href="javascript:void(0);" class="subbtnhs mt10 ml10" uri="index.php?app=seller_order&amp;act=adjust_fee&amp;order_id={$order.order_id}&ajax" dialog_width="450" dialog_title="调整费用" ectype="dialog"  dialog_id="seller_order_adjust_fee" id="order1_action_adjust_fee">修改订单金额</a>
                </p>
            </dd>
            <!--{/if}-->
            <!--{if $order.status eq 20}-->
            <dt>
                <h4>状态：订单已付款，等您发货</h4>
            </dt>
            <dd>
                <p>1，买家已付款，请您尽快发货，否则买家有权申请退款。</p>
                <p>2，买家申请退款后，需征得买家同意后再操作发货，否则买家有权拒收货物。</p>
                <p>
                    <a href="javascript:void(0)" class="subbtnhs mt10" id="deliver_btn">填写发货信息</a>
                    <a href="javascript:void(0)" class="subbtnhs mt10 ml10" id="address_btn">修改收货地址</a>
                </p>
            </dd>
            <!--{/if}-->
            <!--{if $order.status eq 30}-->
            <dt>
                <h4>状态：卖家已发货，等待买家确认收货</h4>
            </dt>
            <dd>
                <p>
                    买家还剩余
                    <span class="time">
                        <i id="day_show"></i>
                        <i id="hour_show"></i>
                        <i id="minute_show"></i>
                        <i id="second_show"></i>
                    </span>
                    来确认收货，如果买家在限期内没有“确认收货”或“申请退款/退货”，本次交易会自动结束，万菱将会打款给您。
                </p>
            </dd>
            <!--{/if}-->
            <!--{if $order.status eq 40}-->
            <dt>
                <h4>状态：交易成功</h4>
            </dt>
            <dd>
                <p>交易已成功，如果买家提出售后要求，请积极与买家协商，做好售后服务。</p>
                <!-- <p>
                <a href="" class="subbtnhs mt10">评价买家</a>
            </p>
            买家评价完后再出现-->
        </dd>
        <!--{/if}-->
        <!--{if $order.status eq 0}-->
            <dt><h4>状态：订单取消</h4></dt>
            <dd>
                    <p>原因：超时关闭/买家不想买了。</p>
            </dd>
        <!--{/if}-->
        <!--{if $order.status eq 5}-->
            <dt><h4>状态：订单关闭</h4></dt>
            <dd>
                    <p>原因：买家退款成功，订单关闭。</p>
            </dd>
        <!--{/if}--> </dl>
    <div>
        <dl class="order-detail-info">
            <dt class="f-cb">
                <h4>订单详情</h4>
                <span>订单号：{$order.order_sn}&nbsp;&nbsp;&nbsp;</span>
            </dt>
            <dd class="f-cb">
                <ul class="f-fl" style="width:475px;">
                    <li class="detail-info-t">
                        <p>买家信息</p>
                    </li>
                    <li>
                        <p>买家账号：{$order.buyer_name|escape}</p>
                    </li>
                    <li>
                        <p>收货人：{$order.orderextm_info.consignee|escape}</p>
                    </li>
                    <li>
                        <p class="pr30">
                            收货地址：{$order.orderextm_info.region_name|escape}&nbsp;&nbsp;{$order.orderextm_info.address|escape}
                        </p>
                    </li>
                    <li>
                        <p>
                            联系电话：{$order.orderextm_info.phone_tel|escape}&nbsp;&nbsp;&nbsp;{$order.orderextm_info.phone_mob|escape}
                        </p>
                    </li>
                </ul>
                <ul class="f-fl" style="width:475px;">
                    <li class="detail-info-t">
                        <p>卖家信息</p>
                    </li>
                    <li>
                        <p>店铺名称：{$order.store_name|escape}</p>
                    </li>
                    <li>
                        <p>卖家姓名：{$order.owner_name|escape}</p>
                    </li>
                    <li>
                        <p>
                            发货地址：{$order.seller_address_info.region_name|escape|default:-}&nbsp;&nbsp;&nbsp;{$order.seller_address_info.address|escape|default:-}
                        </p>
                    </li>
                    <li>
                        <p>
                            联系电话：{if $order.seller_address_info.phone_tel}{$order.seller_address_info.phone_tel|escape}&nbsp;&nbsp;&nbsp;{/if}{$order.seller_address_info.phone_mob|escape}
                        </p>
                    </li>
                </ul>
            </dd>
            <dd class="dd1">
                <table>
                    <tr>
                        <td width="70" valign="top">
                            <p>买家留言：</p>
                        </td>
                        <td>
                            <p>
                                {if $order.postscript}{$order.postscript|escape}{else}暂无留言{/if}
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td width="70" valign="top">
                            <p>发票抬头：</p>
                        </td>
                        <td>
                            <p>
                                {if $order.orderextm_info.inv_content}{$order.orderextm_info.inv_content|escape}{else}暂无发票抬头{/if}
                            </p>
                        </td>
                    </tr>
                </table>
            </dd>
            <dt>
                <table width="100%" class="order-detail-tbl">
                    <tbody>
                        <tr>
                            <th colspan="2">商品信息</th>
                            <th class="detail-thc">商品规格</th>
                            <th class="detail-thc">单价（元）</th>
                            <th class="detail-thc">数量</th>
                            <th class="detail-thc">商品总价（元）</th>
                        </tr>
                        <!--{foreach from=$goods_list item=goods}-->
                        <tr>
                            <td width="120" valign="top">
                                <div class="goods-show-img">
                                    <img height="100" alt="" src="{$goods.goods_image}"></div>
                            </td>
                            <td width="180" valign="top">
                                <p>
                                    <a class="linkbtn" href="{jsurl app=goods&id=$goods.goods_id}">{$goods.goods_name|escape}</a>
                                </p>
                                <p class="detial-pz">货号：{$goods.sku|escape}</p>
                            </td>
                            <td width="200" valign="top" align="center">
                                <ul>
                                    <li>{$goods.specification}</li>
                                </ul>
                            </td>
                            <td width="100" valign="top" align="center">
                                <p>{$goods.price|price}</p>
                            </td>
                            <td width="80" valign="top" align="center">{$goods.quantity}</td>
                            <td valign="top" align="center">{$goods.total_money|price}</td>
                        </tr>
                        <!--{/foreach}--> </tbody>
                </table>
            </dt>
            <dd class="order-detail-dtdx"></dd>
            <dd class="order-detail-sub f-cb">
                <ul>
                    <li>
                        运费：{if $order.orderextm_info.shipping_fee}{$order.orderextm_info.shipping_fee}{else}0{/if} 元
                    </li>
                    <!--{if $order.orderextm_info.free_shipping gt 0}-->
                    <li>免邮：{$order.orderextm_info.free_shipping}元</li>
                    <!--{/if}-->
                    <!--{if $order.discount gt 0}-->
                    <li>优惠金额：{$order.discount}元</li>
                    <!--{/if}-->
                    <li>
                        (商品总价 
                        + 运费
                        {if $order.orderextm_info.free_shipping gt 0}– 免邮{/if}
                        {if $order.discount gt 0}– 优惠金额{/if}
                        ) = 实付总额：
                        <em>{$order.order_amount}</em>
                        元
                    </li>
                </ul>
            </dd>
        </dl>
        <div class="order-detail-dbtp"></div>
    </div>
    <iframe name="seller_order" style="display:none;"></iframe>
</div>
</div>
</div>
<!--{if $order.status eq 20}-->
{include file=seller.shipping.edit.html}
<!--{/if}-->
<script>
$(function() {
    regionInit("region");
    var totalSeconds = parseInt({$left_time}); //倒计时总秒数量
    wl.wlTimer({
            'intDiff': totalSeconds,
            'daySelector': '#day_show',
            'hourSelector': '#hour_show',
            'minuteSelector': '#minute_show',
            'secondSelector': '#second_show',
            'end':function(){
                    //结束后
            }
    });
    
});
</script>
{include file="footer.html"}